<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ include file="../taglibs.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><s:text name="USER.label.login.title"/></title>
<link rel="stylesheet" type="text/css" href="${webroot}/css/style.css" />
</head>
<body>
<div><iframe src="${webroot}/jsp/user/header.jsp" width="100%" height="79" scrolling="no" frameborder="0" name="header" id="header"></iframe></div>
<br/>
<center>
<div>
<form action="${webroot}/user/login.do" method="post" name="mainForm">
  <input type="hidden" name="type" value="0" />
  <div align="center"><b><s:text name="USER.label.login.tip"/></b></div>
  <div style="border:outset;width:340pt;height:100pt;position:relative;">
      </br>
      <table widht="100%" cellpadding="0" cellspacing="0" align="center" border="0">
        <tr height="30px">
          <td width="20%" align="right">
            <s:text name="USER.label.login.loginName"/>：
          </td>
          <td align="left">
            <input type="text" id="loginName" name="loginName" style="width:140px;" size="20" maxlength="15" value="<s:property value='loginName' />"  />
          </td>
          <td align="left">
            <font color="#FF0000" style="font-weight:bold"><s:fielderror><s:param>loginName</s:param></s:fielderror></font>
          </td>
        </tr>
        <tr height="30px">
          <td align="right">
            <s:text name="USER.label.login.loginPwd"/>：
          </td>
          <td align="left">
            <input type="password" id="loginPassword" name="loginPassword" style="width:140px;" size="20" value="<s:property value='loginPassword' />"  />
          </td>
          <td align="left">
            <font color="#FF0000" style="font-weight:bold"><s:fielderror><s:param>loginPassword</s:param></s:fielderror></font>
          </td>
        </tr>
        <tr height="30px">
          <td align="center" colspan="3">
            <input type="submit" id="Submit" name="Submit" value='<s:text name="USER.label.login.submitBtn"/>' class="button" />
            <input type="button" id="Return" name="Return" value='<s:text name="USER.label.login.returnBtn"/>' class="button" onclick="javaScript:window.location.href='${webroot}/jsp/index.jsp'"/>
          </td>
  		</tr>
      </table>
  </div>  
</form>
</div>
</center>
<br/>
<div><iframe src="${webroot}/jsp/user/footer.jsp" width="100%" height="29" scrolling="no" frameborder="0" name="footer" id="footer"></iframe></div>
</body>
</html>
